hide
Makes a set of windows causing insets disappear.
Note that if the window currently doesn't have control over a certain type, it will apply the change as soon as the window gains control. The app can listen to the event by observing onApplyWindowInsets and checking visibility with isVisible.
Parameters
types
A bitmask of WindowInsetsCompat.Type specifying what windows the app would like to make disappear.